@import '/app.less';

page {
  background-color: #fcfdfe;
  height: 100vh;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.calendar {
  background-color: #fff;
  border-radius: 0 0 24px 24px;
  box-shadow: var(--default-shadow);

  swiper {
    height: 110px;
  }

  &-year {
    display: flex;
    justify-content: space-between;
    padding-top: 16px;
    &__text {
      font-weight: bold;
    }

    &__icon {
      padding: 0 48rpx;
    }
  }

  &-day {
    &__text {
      color: var(--minor-color);
      font-size: 13px;
      margin-bottom: 12px;
    }
    &__money {
      font-size: 10px;
      color: #999;
    }

    &__num {
      width: 32px;
      height: 32px;
      line-height: 32px;
      font-size: 14px;
      text-align: center;
      border-radius: 99999px;
    }

    &__select {
      color: #fff;
      background-color: var(--primary-color);
    }
  }

  &-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 14px;
    font-size: 12px;
    box-shadow: var(--default-shadow);
    &__date {
      font-weight: bold;
      font-size: 18px;
      
    }
    &__mode {
      text {
        color: #62b07a;
        background-color: #ebf7f1;
        padding: 4px 12px;
        display: inline-block;
      }
      &--select {
        background-color: var(--primary-color) !important;
        color: #fff !important;
      }
    }
   
  }
  &-container {
    padding: 12px;
    padding-bottom: calc(12px + env(safe-area-inset-bottom));
  }
  &-collect {
    text {
      color: var(--minor-color);
      &:nth-child(1) {
        font-weight: bold;
        font-size: 14px;
        margin-right: 8px;
        color: #000;
      }
      &:nth-child(2) {
        margin-right: 10px;
      }
    }
  }
}

.detail-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 20%;
  box-sizing: border-box;
  text {
    color: #999;
    font-size: 14px;
  }
}